<!--:if(!isEmpty(combo)){  -->
	<section class="section--course-package">
		<div class=" inner-center clearfix course-package js-package-content ">
			<h2 class="course-package-title">
				<a href="/course/package/1791" target="_blank" title="${combo.title!}">${combo.title!}</a>
				(共${combo.list.~size}课)
			</h2>
			<div class="pkg-course">
				<ul class="pkg-course-list" style="left: 0px;">
					<!--:for(c in combo.list){  -->
					<li class="pkg-course-item" data-index="0"><a
						href="/course/${c.id}" target="_blank" class="pkg-course-img"
						title="${c.title!}" data-index="1"
						cors-name="course"><img
							src="${www}${c.img!}"
							width="220" height="124" alt="课程封面"></a>
					<h3>
							<a href="/course/${c.id}" target="_blank"
								title="${c.title!}" class="pkg-course-title"
								data-index="1"
								report-tdw="action=Coursecard_Coursesname-clk&amp;ver1=158475&amp;ver3=2.1&amp;ver2=31542"
								cors-name="course">${c.title!}</a>
						</h3>
						<p class="pkg-course-class">讲师: ${c.teacher}</p>
						<p class="pkg-course-time">上架时间: ${c.add_time,"yyyy-MM-dd"}</p>
						<p class="pkg-course-price ">
							<span class="price "> ¥ <span class="fontsize-22">${c.price}</span>
							</span>
						</p>
					<!--:}  -->
				</ul>
				<a href="javascript:void(0)"
					class="pkg-course-slide pkg-course-slide--left hide disabled"><i
					class="icon-font i-v-left"></i></a>
				<a href="javascript:void(0)"
					class="pkg-course-slide pkg-course-slide--right hide ${combo.list.~size>3?'active':''}"><i
					class="icon-font i-v-right"></i></a>
			</div>
			<div class="package-info  package-info--equal">
				<span class="package-info-price--new"><span class="price ">  ¥${combo.price}</span>
				</span> <span
					class="package-info-price--old">原价:<span class="price ">  ¥${combo.total_price!}</span></span> <a
					href="/combo/${combo.id}" data-pid="1"
					class="btn-default package-info-buy js-package-buy " >立即报名</a> <a
					href="/combo/${combo.id}" target="_blank"
					class="btn-outline package-info-show">查看详情</a>
			</div>
		</div>
	</section>
	<script>
		$(function(){
			$(".pkg-course-slide--right").click(function(){
				var w=parseInt($(".pkg-course-list").css("left").match(/\d+/)[0])
				if(w>=${combo.list.~size-2}*242){
					
				}else{
					$(".pkg-course-list").css("left",-(w+242))
				}
				$(".pkg-course-slide--left").addClass("active")
				$(".pkg-course-slide--left").removeClass("disabled")
			})
			$(".pkg-course-slide--left").click(function(){
				var w=parseInt($(".pkg-course-list").css("left").match(/\d+/)[0])
				if(w==242){
					$(this).removeClass("active")
					$(this).addClass("disabled")
					$(".pkg-course-list").css("left",0)
				}else{
					$(".pkg-course-list").css("left",-w+242)
				}
			})
			if(${combo.list.~size}>3){
				
			}
		})
	</script>
	<!--:}  -->